package cn.maihe.elg.operation.security.auth.ajax;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author JHWei
 * 2018/7/9 下午7:48
 */
public class LoginRequest {
    private String username;
    private String password;
    private String id;
    private String validateCode;
    private String smsCode;
    private String acceptOrderNo;
    private String thirdToken;

    private String fzApplyParam;

    @JsonCreator
    public LoginRequest(@JsonProperty("username") String username, @JsonProperty("password") String password,
                        @JsonProperty("id")String id, @JsonProperty("validateCode")String validateCode,
                        @JsonProperty("smsCode")String smsCode, @JsonProperty("acceptOrderNo")String acceptOrderNo,
                        @JsonProperty("fzApplyParam") String fzApplyParam, @JsonProperty("token")String thirdToken) {
        this.username = username;
        this.password = password;
        this.id = id;
        this.validateCode = validateCode;
        this.smsCode = smsCode;
        this.acceptOrderNo = acceptOrderNo;
        this.fzApplyParam = fzApplyParam;
        this.thirdToken = thirdToken;
    }

    public String getId() {
        return id;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public String getAcceptOrderNo() {
        return acceptOrderNo;
    }

    public String getFzApplyParam() {
        return fzApplyParam;
    }

    public String getThirdToken() {
        return thirdToken;
    }
}
